// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "CoreMinimal.h"
#include "Animation/AnimInstance.h"
#include "EnemyAnimInstance.generated.h"

/**
 * 
 */
UCLASS()
class GAMETESTH_API UEnemyAnimInstance : public UAnimInstance
{
	GENERATED_BODY()
	
public:
	UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = Movement)
	float MoveSpeed;
	UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = Movement)
	bool IsFalling;
	UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = Movement)
	class APawn* Pawn;
	UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = Movement)
	class AEnemyCharacter* Enemy;

	virtual void NativeInitializeAnimation() override;
	UFUNCTION(BlueprintCallable, Category = Movement)
	void UpdateAnimation();

};
